import {initialize} from 'plain-design'
import useTableOption from "./useTableOption";
import useObjectOption from "./useObjectOption";
import {useHttp} from "./useHttp";
import {useAddressConfig} from "./useAddressConfig";
import {useOvConfig} from "./useOvConfig";
import {MicroLibService} from "@/micro/utils/MicroLibService";

initialize(() => ({
    useTableOption,
    useObjectOption,
    useHttp,
    useAddressConfig,
    useOvConfig,
    getExceljs: () => MicroLibService.load('ExcelJS'),
    // @ts-ignore
    getFileSaver: () => MicroLibService.load('saveAs'),
}))
